package com.cictec.middleware.api.dc;

import java.util.List;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cictec.middleware.commons.utils.Result;
import com.cictec.middleware.core.entity.BusDriver;
import com.cictec.middleware.core.entity.BusDriverSignIn;
import com.cictec.middleware.core.pojo.MiddlewareDriverSign;

public interface MiddlewareDcDriverService {

	
	@RequestMapping(value = "/dc/driver/getBusDriverSignIn")
	public List<BusDriverSignIn> getBusDriverSignIn(@RequestParam("busUuid") String busUuid,
			@RequestParam("date") String date);
	
	@RequestMapping(value = "/dc/driver/driverSign")
	public Result driverSign(@RequestBody MiddlewareDriverSign middlewareDriverSign);

	@RequestMapping(value = "/dc/driver/getDriverByIcCardNumber")
	public BusDriver getDriverByIcCardNumber(@RequestParam("icCardNumber") String icCardNumber);

}
